<div class="textarea-box"  ng-style>
    <textarea   ng-style="getCurentStyle('border')"  class="textarea" ng-model="content" name="" id="" cols="30" rows="10"></textarea>
    <div class="clearfix">
        <div style="float:left;color:red"  ng-show="curLength > length"  >亲 你输入字数已超过限制哦！</div>
        <div style="float:right  "class="notice-font-number"><span   ng-style="getCurentStyle('msg')" >{{curLength}}</span>/ <span >{{length}}</span> </div>
    </div>
</div>
</div>
<style>
    .notice-font-number{
        color:#666460
    }
    .textarea-box{
        position: relative;
        border: 0px solid #E2E0DB;
        float:left;
        width:360px;
        height:120px;
    }
    .textarea{
        border: 1px solid #E2E0DB;
        float:left;
        width:340px;
        height:100px;
        padding: 10px;
        resize: none;
    }
</style>